#ifndef __QLOGGER_H__
#define __QLOGGER_H__


#include <../logger/src/qloggerengine.hpp>
#include <../logger/src/qlogger_.hpp>
#include <../logger/src/qloggercontext.hpp>
#include <../logger/src/qloggerconsoleappender.hpp>
#include <../logger/src/qloggercolorconsoleappender.hpp>
#include <../logger/src/qloggerfileappender.hpp>
#include <../logger/src/qloggerrollingfileappender.hpp>
#include <../logger/src/qloggerobjectappender.hpp>


#define logDebug     QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).debug
#define logInfo      QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).info
#define logWarn      QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).warn
#define logError     QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).error
#define logFatal     QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).fatal
#define logCritical  QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).critical
#define logException QLoggerContext(__FILE__,__LINE__,Q_FUNC_INFO).exception

#endif
